package com.zbkj.crmeb.store.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 专区与商品关联表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_zone_product")
@ApiModel(value="StoreZoneProduct", description="专区与商品关联表")
public class StoreZoneProduct implements Serializable {
    private static final long serialVersionUID = 5071900249288082654L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 专区id
     */
    @ApiModelProperty(value = "专区id")
    private Integer zoneId;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Integer productId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 是否置顶(1 是 2 否)
     */
    @ApiModelProperty(value = "是否置顶(1 是 2 否)")
    private Integer isTop;

    @ApiModelProperty(value = "置顶时间")
    private Date topTime;

}
